#pragma once

#ifndef HR_CREW_H
#define HR_CREW_H

#include "ICPUtility.h"

class HrCrew {
  private:
    int _id;
    static int _countId;

    string _pcode;
    string _base;
    vector<personTechInfo> _personTechInfoList;
    vector<personSchedule> _personScheduleList;

  public:
    HrCrew(string code3, string base);

    ~HrCrew();

    int getId() { return _id; }
    string getPCode() { return _pcode; }
    string getBase() { return _base; }
    vector<personTechInfo> getPersonTechInfo() { return _personTechInfoList; }
    vector<personSchedule> getPersonSchedule() { return _personScheduleList; }
    void pushPersonTechInfo(personTechInfo value) { _personTechInfoList.push_back(value); }
    void pushPersonSchedule(personSchedule value) { _personScheduleList.push_back(value); }
};

#endif //! HR_CREW_H